import  api from  "./api";
import  {post,get,patch} from  "./http";

export  const  addLeave =(data)=> post(api.leaves.add,data);
export const  studentLeaveList = (params)=>get(api.leaves.studentlist,params);
export const  allstudent = (params)=>get(api.leaves.allstudent,params);
export const  updatetype = (data)=>patch(api.leaves.updatetype,data);


